<?php


namespace app\validate;

use think\Validate;

class MasterCheck extends Validate
{

    protected $rule = [
        'user_id' => 'require'
    ];

    protected $message = [
        'user_id.require' => '用户id不能为空'
    ];

    protected $scene = [
        'master' => ['user_id']
    ];
}